﻿using System.Collections.Generic;
using System.Linq;
using EYCmsAdmin.Domain.Models;

namespace EYCmsAdmin.Presentation.Models.UserModels
{
    public class UserSelectModel
    {
        public UserSelectModel(IEnumerable<User> users)
        {
            Users = users.Select(x => new UserSelectItem(x)).ToList();
        }

        public IList<UserSelectItem> Users { get; set; }
    }
}